<%@  Page Language="C#" MasterPageFile="~/MasterPage.master" Title="Prueba de C#" CodeFile="~/Vista/ModificarFactura.aspx.cs" Inherits="MasterPage2"%>

<%@ MasterType TypeName="MasterPage" %>

<script language="C#" runat="server">

</script>

<asp:content id="Content1" contentplaceholderid="principal" runat="server">

     <table border="0" cellspacing="0" class="fondo_azul">
                <tr>
                    <td colspan="2" class="titulos">Editar Factura</td>
                </tr>
                <tr>
                <td class="campos_formulario" align="right">Numero:</td>
                <td>
                    <asp:TextBox ID="txtNumeroFactura" runat="server"></asp:TextBox>
                    <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" 
                        runat="server" FilterType="Numbers" TargetControlID="txtNumeroFactura">
                    </ajaxToolkit:FilteredTextBoxExtender>
                                        </td>
                </tr>
                <tr>
                <td class="campos_formulario" align="right">Titulo:</td>
                <td>
                    <asp:DropDownList ID="ddlTituloFactura" runat="server" style="margin-left: 0px" 
                        Width="155px" DataSourceID="ObjectDataSource1" DataTextField="Titulo" 
                        DataValueField="Id">
                    </asp:DropDownList>
                                        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                        SelectMethod="TituloPropuestas" TypeName="FacturaControl">
                    </asp:ObjectDataSource>
                                        </td>
                </tr>
                <tr>
                <td class="campos_formulario" align="right">%:</td>
                <td>
                    <asp:TextBox ID="txtPorcentajeFactura" runat="server" ></asp:TextBox>
                                        <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" 
                        runat="server" BehaviorID="porcenSoloNumeros" FilterType="Custom, Numbers" 
                        TargetControlID="txtPorcentajeFactura" ValidChars=".">
                    </ajaxToolkit:FilteredTextBoxExtender>
                                        </td>
                </tr>   
                <tr>             
                <td class="campos_formulario" align="right">Monto:               <td>
                    <asp:TextBox ID="txtMontoFactura" runat="server"></asp:TextBox>
                                        <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" 
                        runat="server" BehaviorID="montoSoloNumeros" FilterType="Custom, Numbers" 
                        TargetControlID="txtMontoFactura" ValidChars=".">
                    </ajaxToolkit:FilteredTextBoxExtender></td>
                </tr>
                  <tr>             
                <td class="campos_formulario" align="right">Fecha:               <td align="center">
                      <asp:TextBox ID="txtFechaFactura" runat="server" Width="125px"></asp:TextBox>
                     <asp:Image ID="Image1" runat="server" 
                        ImageUrl="~/images/Calendar_scheduleHS.png" Visible="True" />
                      <ajaxToolkit:CalendarExtender ID="Calendarfactura" runat="server" 
                        TargetControlID="txtFechaFactura" PopupButtonID="Image1" Enabled="True">
                      </ajaxToolkit:CalendarExtender> </td>
                </tr> 
               <tr>
               
                <td style="height:50px;" align="center" colspan="2">&nbsp;<asp:Button 
                        ID="btnModificarFactura" runat="server" CssClass="botones" OnClick="ModificarFactura" Text="Procesar" />
                   </td>
               </tr>
      
        </table>       
                
  
</asp:content>



